NRConversationFragment

class NRConversationFragment : BoundFragment<FragmentNrconversationBinding>

The fragment that displays the chat conversation.

The SDK creates this fragment and delivers it through com.genesys.cloud.ui.structure.controller.ChatLoadResponse.fragment once the chat is loaded. Add it to your layout to present the chat. Don't create it directly.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val context: Context?
Link copied to clipboard
Link copied to clipboard
open var exitTransition: Any?
Link copied to clipboard
Link copied to clipboard
val host: Any?
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tag: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val view: View?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun dump(@NonNull prefix: String, @Nullable fd: FileDescriptor?, @NonNull writer: PrintWriter, @Nullable args: Array<out String?>??)
Link copied to clipboard
fun getString(@StringRes resId: Int, @Nullable vararg formatArgs: Any?): String
Link copied to clipboard
Link copied to clipboard
open fun onActivityCreated(@Nullable savedInstanceState: Bundle?)
Link copied to clipboard
open fun onActivityResult(requestCode: Int, resultCode: Int, @Nullable data: Intent?)
Link copied to clipboard

open override fun onAttach(context: Context)

Sets up the file, media, and camera pickers for the attached context.

Link copied to clipboard
open fun onAttachFragment(@NonNull childFragment: Fragment)
Link copied to clipboard
open override fun onConfigurationChanged(newConfig: Configuration)

Refreshes the chat list when the screen orientation changes.

Link copied to clipboard
Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)

Starts observing the hosting activity's lifecycle.

Link copied to clipboard
open fun onCreateAnimation(transit: Int, enter: Boolean, nextAnim: Int): Animation?
Link copied to clipboard
open fun onCreateAnimator(transit: Int, enter: Boolean, nextAnim: Int): Animator?
Link copied to clipboard
Link copied to clipboard
open override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View

Creates the fragment's view and sets up the chat list.

Link copied to clipboard
open override fun onDestroy()

Reports the com.genesys.cloud.integration.core.StateEvent.ChatWindowDetached state and releases the fragment's resources.

Link copied to clipboard
Link copied to clipboard
open override fun onDestroyView()

Releases the chat list and its listeners.

Link copied to clipboard
Link copied to clipboard
open fun onGetLayoutInflater(@Nullable savedInstanceState: Bundle?): LayoutInflater
Link copied to clipboard
Link copied to clipboard
open fun onInflate(@NonNull activity: Activity, @NonNull attrs: AttributeSet, @Nullable savedInstanceState: Bundle?)
open fun onInflate(@NonNull context: Context, @NonNull attrs: AttributeSet, @Nullable savedInstanceState: Bundle?)
Link copied to clipboard
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean)
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, @NonNull permissions: Array<out String?>, @NonNull grantResults: IntArray)
Link copied to clipboard
open override fun onResume()

Refreshes the chat list if new messages arrived while the fragment was paused.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onStop()

Pauses the chat components when the app goes to the background, or hides the keyboard when the fragment is being removed.

Link copied to clipboard
open override fun onViewCreated(view: View, savedInstanceState: Bundle?)

Connects the chat UI to the chat session and reports the com.genesys.cloud.integration.core.StateEvent.ChatWindowCreated state.

Link copied to clipboard
open fun onViewStateRestored(@Nullable savedInstanceState: Bundle?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun requestPermissions(@NonNull permissions: Array<out String?>, requestCode: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasOptionsMenu(hasMenu: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setMenuVisibility(menuVisible: Boolean)
Link copied to clipboard
open fun setTargetFragment(@Nullable fragment: Fragment?, requestCode: Int)
Link copied to clipboard
open fun startActivity(@NonNull intent: Intent)
open fun startActivity(@NonNull intent: Intent, @Nullable options: Bundle?)
Link copied to clipboard
open fun startActivityForResult(@NonNull intent: Intent, requestCode: Int)
open fun startActivityForResult(@NonNull intent: Intent, requestCode: Int, @Nullable options: Bundle?)
Link copied to clipboard
open fun startIntentSenderForResult(@NonNull intent: IntentSender, requestCode: Int, @Nullable fillInIntent: Intent?, flagsMask: Int, flagsValues: Int, extraFlags: Int, @Nullable options: Bundle?)
Link copied to clipboard
Link copied to clipboard